@layout("/common/_form.html",{js:["/assets/goods/blade/blade_edit.js"]}){

<form class="layui-form" id="infoForm" lay-filter="infoForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">

                <div class="layui-form-item layui-row">
                    <input name="goodsId" type="hidden"/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">刀片编码<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="goodsCode" name="goodsCode" placeholder="请输入" type="text" class="layui-input" lay-verify="required" disabled/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">刀片类别<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="type" id="type">
                                <option value=""></option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">刀片名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="goodsName" name="goodsName" placeholder="请输入" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>

                    <div class="layui-input-block" hidden>
                        <input id="classification" name="classification" value="1" type="hidden"/>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">刀片品牌</label>
                        <div class="layui-input-block">
                            <input id="brand" name="brand" placeholder="请输入" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">规格型号</label>
                        <div class="layui-input-block">
                            <input id="model" name="model" placeholder="请输入" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">刀片单位</label>
                        <div class="layui-input-block" id="companyRadio">
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">单位数量</label>
                        <div class="layui-input-block">
                            <input id="count" name="count" placeholder="请输入" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">备注</label>
                        <div class="layui-input-block">
                            <input id="remarks" name="remarks" placeholder="请输入" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">正面图片</label>
                        <div class="layui-input-block">
                            <input id="frontPhoto" name="frontPhoto" type="hidden" class="layui-input"/>
                            <button type="button" class="layui-btn layui-btn-sm" id="picBtn"><i class="layui-icon"></i>上传图片</button>
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" id="img1" width="92px" height="92px">
                            </div>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">背面图片</label>
                        <div class="layui-input-block">
                            <input id="backPhoto" name="backPhoto" type="hidden" class="layui-input"/>
                            <button type="button" class="layui-btn layui-btn-sm" id="picBtn2"><i class="layui-icon"></i>上传图片</button>
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" id="img2" width="92px" height="92px">
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}